import { NgModule } from '@angular/core';
import { FormsModule }   from '@angular/forms';
import { BrowserModule, Title } from '@angular/platform-browser';

import { AppComponent } from './app.component';

import { LayoutModule} from './layout/layout.module'

import { LoginComponent } from './login/login.component';
import { routing,appRoutingProviders  } from './app.routing';

@NgModule({
	imports: [
		FormsModule,
		BrowserModule,
		routing,
		LayoutModule
	],
	declarations: [
		AppComponent,
		LoginComponent
	],
	providers: [
		appRoutingProviders,
		Title
	],
	bootstrap: [AppComponent]
})
export class AppModule { }
